﻿using System.Web;
using System.Web.Mvc;

namespace VaccineEbook
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            //register Authorize the filter
            filters.Add(new VaccineEbook.Helpers.CustomAuthorizeAttribute());

            filters.Add(new HandleErrorAttribute());
        }
    }
}